package com.rdxer.dataview;

import com.rdxer.model.Account;
import com.rdxer.model.Paper;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class AnswerSheetDV {

    private Paper paper;
    private Account account;

    private String id;
    private String userId;
    private String paperId;

    private Long createDate;
    private Long endDate;
    // 总用时
    private Long testDuration;
    /**
     * 客观分数
     */
    private Double objectiveScore;
    /**
     * 主观分数
     */
    private Double subjectiveScore;

    // 总分
    private Double score;

    private Boolean resolve;

}
